from flask import jsonify

def resp_builder(data, msg = "", code = 200):
    return jsonify({"data":data,"msg":msg,"code":code}),code